import Vue from 'vue'
import Router from 'vue-router'

import Home from "@/components/Home";
import Login from "@/components/Login";
import Index from "@/components/ToParking";
import Parking from "@/components/Parking";
import CheckMsg from "@/components/CheckMsg";
import UserCenter from "@/components/UserCenter";
import Order from "@/components/Order";
import CarManage from "@/components/CarManage";
import AddCar from "@/components/AddCar";
import PayCarLicense from "@/components/PayCarLicense";
import UserFeedback from "@/components/UserFeedback";
import HelpCenter from "@/components/HelpCenter";
import UserSet from "@/components/UserSet";
import ChangeTel from "@/components/ChangeTel";
import Order from "@/components/Order";
Vue.use(Router)

export default new Router({
    routes:[
        {
            path:'/',
            name:'Home',
            component:Home
        },
        {
            path:'/login',
            name:'Login',
            component:Login
        },
        {
            path:'/to-parking',
            name:'Index',
            component:Index
        },
        {
            path:'/parking',
            name:Parking,
            component:Parking,
        },
        {
            path:'/checkmsg',
            name:CheckMsg,
            component:CheckMsg,
        },
        {
            path:'/usercenter',
            name:UserCenter,
            component:UserCenter,
        },
        {
            path:'/carmanage',
            name:CarManage,
            component:CarManage,
        },
        {
            path:'/addcar',
            name:AddCar,
            component:AddCar,
        },
        {
            path:'/payCarlicense',
            name:PayCarLicense,
            component:PayCarLicense,
        },
        {
            path:'/userfeedback',
            name:UserFeedback,
            component:UserFeedback,
        },
        {
            path:'/helpcenter',
            name:HelpCenter,
            component:HelpCenter,
        },
        {
            path:'/userset',
            name:UserSet,
            component:UserSet,
        },
        {
            path:'/changetel',
            name:ChangeTel,
            component:ChangeTel,
        },
        {
            path:'/order',
            name:Order,
            component:Order,
        },
        {
            path:'/order',
            name:Order,
            component:Order,
        },


    ]
    
})